##
# As Region 是为行政区划提供的领域逻辑关注点。

module Unidom
  module Geo
    module Concerns

      module AsRegion

        extend ActiveSupport::Concern

        included do |includer|

          has_many :locations, class_name: 'Unidom::Geo::Location'
          has_many :locatings, through:    :locations,              source: :locatings

        end

        module ClassMethods
        end

      end

    end
  end
end
